<template>
  <div>
    <h1>我是登录</h1>
    <input type="text">
    <input type="text">
    <button>登录</button>
  </div>
</template>

<script>
export default {
    activated(){
        console.log("来玩")
    },
    deactivated(){
        console.log("走好");
    }
}
</script>

<style>

</style>